package me.zixing.java.chapter01;

import java.util.Scanner;

/**
 * Created by bingh on 2017/9/13.
 */
public class Subject02 {
    public static void main (String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("输入两个数:");
        double num1 = scanner.nextDouble();
        double num2 = scanner.nextDouble();
        if(num1<=num2){
            System.out.println(num1);
            System.out.println(num2);
        }else{
            System.out.println(num2);
            System.out.println(num1);
        }
    }
}
